package com.jn.builder.improve;

/**
 * 抽象的建造者
 *
 * @author 江南大学1033190417
 * @date 2022/4/11 19:28
 */
public abstract class HouseBuilder {

    protected House house=new House();

    //打地基
    public abstract void buildBasic();

    //砌墙
    public abstract void buildWalls();

    //封顶
    public abstract void roofed();


    //建造房子
    public House buildHouse(){
        return house;
    }
}
